<template>
  <el-container>
    <el-header>
      <Top2></Top2>
    </el-header>
    <el-container>
      <div class="main">
        <div class="main-top">
          <el-row :gutter="20">
            <el-col :span="6">
              <div class="left-top">
                <top-left></top-left>
              </div>
              <div class="left-bottom">
                <bottom-left></bottom-left>
              </div>
            </el-col>

            <el-col :span="18">
              <weather-left class="weatherleft"></weather-left>
              <div class="picbottom">
                <el-row :gutter="10">
                  <el-col :span="16">
                    <level-pic>1</level-pic>
                  </el-col>
                  <el-col :span="8">
                    <radar-pic>1</radar-pic>
                  </el-col>
                </el-row>
              </div>
              <div class="picbottom">
                <el-row :gutter="10">
                  <el-col :span="16">
                    <details-note>1</details-note>
                  </el-col>
                  <el-col :span="8">
                    <could-pic>2</could-pic>
                  </el-col>
                </el-row>
              </div>
            </el-col>
          </el-row>
        </div>
      </div>
    </el-container>
  </el-container>
</template>
    
<script>
import Top2 from "@/components/header/top2";

import weatherLeft from "./weather/weatherleft";
import topLeft from "./monitoring/topleft";
import bottomLeft from "./monitoring/bottomleft";
import levelPic from "./levelpic/levelpic";
import radarPic from "./radarpic/radarpic";
import detailsNote from "./detailsnote/detailsnote";
import couldPic from "./radarpic/could";

export default {
  name: "Home",
  data() {
    return {
      drawer: true
    };
  },
  components: {
    Top2,
    weatherLeft,
    topLeft,
    bottomLeft,
    levelPic,
    radarPic,
    detailsNote,
    couldPic
  },
  methods: {},
  created() {}
};
</script>

<style lang="less" scoped>
* {
  padding: 0;
  margin: 0;
}
html,
body {
  height: 100%;
}
.el-header {
  width: 100%;
  height: 86px !important;
}
.is-vertical {
  height: 100% !important;
}

.main {
  background: #f8f9fb;
  height: 100%;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  .main-top {
    height: 100%;
    width: 100%;
    .weatherleft {
      background: #fff;
      box-shadow: 2px 2px 4px 2px rgba(red, green, blue, 0.3);
    }
  }
  .picbottom {
    margin-top: 10px;
  }
}
.left-bottom {
  margin-top: 10px;
}
</style>
